package com.tcm.entity.vo;

import lombok.Data;

/**
 * 学生积分查询展示封装
 * @author Guqier
 * @version 1.0
 * @date 2023/8/1 17:36
 */
@Data
public class StudentScoreListResult implements Comparable<StudentScoreListResult> {

    //学生ID
    private Long id;

    //账号
    private String account;

    //姓名
    private String name;

    // 性别
    private Integer gender;

    // 学院ID
    private Long collegeId;

    //学院
    private String collegeName;

    // 专业ID
    private Long majorId;

    //专业
    private String majorName;

    // 年级ID
    private Long gradeId;

    //年级
    private String gradeName;

    // 班级ID
    private Long clazzId;

    //班级名称
    private String clazzName;

    //积分
    private Integer score;

    //等级
    private String rankName;

    @Override
    public int compareTo(StudentScoreListResult o) {
        return Integer.compare(o.score, this.score);
    }
}
